// tab结构
export type TabObject = {
    apptag: string, 
    title: string, 
    icon: string
}

export type StateObject = {
    count: number,
    currentApp: string,
    tabs: TabObject[],
    barContent: []
}
const defTablist: Array<TabObject> = [{ apptag: 'app.home', title:'开始', icon:'boxes' }]

export const defState:StateObject = {
    count: 0,
    currentApp: 'app.home',
    tabs: defTablist,
    barContent: []
}
//export type StateObject = typeof defState
